home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / source.exe / POSIX / CP / MAKEFILE < prev    next >
Text File  |  1993-08-10  |  642b  |  26 lines

  1. !include <ntwin32.mak>
  2.  
  3. C_DEFINES=-DWIN_NT -DSTDC_HEADERS -D_POSIX_SOURCE -DDIRENT -DSTACK_DIRECTION=-1 -D__STDC__ -DDF_POSIX -D_POSIX_ -DCONVERT_TO_SLASHES -UCONVERT_TO_BACKSLASHES
  4. C_INCLUDES=-I..\include\bsd -I..\include\df
  5.  
  6. all: cp.exe
  7.  
  8. ..\bsdpsx\bsdpsx.lib:
  9.     cd ..\bsdpsx
  10.     nmake
  11.     cd ..\cp
  12.  
  13. cp.obj: cp.c *.h
  14.  
  15. path.obj: path.c *.h
  16.  
  17. cpglob.obj: cpglob.c *.h
  18.  
  19. glob.obj: glob.c *.h
  20.  
  21. cp.exe: cp.obj path.obj cpglob.obj glob.obj ..\bsdpsx\bsdpsx.lib
  22.     $(link) $(linkdebug) $(psxflags) -out:$*.exe $** $(psxlibs) ..\bsdpsx\bsdpsx.lib
  23.  
  24. .c.obj:
  25.     $(cc) $(cflags) $(psxvars) $(cvars) $(cdebug) $(C_DEFINES) $(C_INCLUDES) $*.c
  26.